package com.gateway.web.controller;

import com.gateway.api.util.CallChainContext;
import lombok.extern.slf4j.Slf4j;

/**
 * @Description:
 * @author: shaoyu1
 * @date: 2019/11/13 12:21
 */
@Slf4j
public class BaseController {

    protected <T> T  afterController(T result){
        log.info(CallChainContext.getContext().toString());
        CallChainContext.unset();
        return result;
    }
}
